import request from '@/utils/http.js';


// 首页
//查看所有商品
export function allGoods(data,page){
	return request.post("/xcx/cateGoods/getAllGoodsXgj?page="+page,data)
}

export function sceneList(data){
	return request.post("/xcx/cateGoods/scene/list",data)
}
//详情中间推荐接口
export function getXgjRecommendGoods(data){
	return request.post("/xcx/cateGoods/getXgjRecommendGoods",data)

}
//详情底部推荐接口
export function getXgjBottomRecommendGoods(data,page){
	return request.post("/xcx/cateGoods/getXgjBottomRecommendGoods?page="+page,data)

}
//热门搜索
export function searchHotKeyword(data){
	return request.post("/xcx/xgj/index/searchHotKeyword",data)
}
//搜素历史记录
export function searchProductKeyword(data){
	return request.post("/xcx/xgj/index/searchProductKeyword",data)
}
//清空搜索记录
export function clearSearchHistory(data){
	return request.post("/xcx/xgj/index/clearSearchHistory",data)
}
//历史足迹
export function lookProductHistory(data){
	return request.post("/xcx/xgj/index/lookProductHistory",data)
}

